package com.tanhua.dubbo.api;

import com.tanhua.model.mongo.UserLike;

import java.util.List;

public interface UserLikeApi {

    //保存或者更新
    Boolean saveOrUpdate(Long userId, Long likeUserId, boolean isLike);
    //根据id查询
    List<UserLike> findByIdUserLikes(Long userId,boolean isLike);
    //根据id查找是否是粉丝
    List<UserLike> findByIdfsLikes(Long userId, boolean b);
}